package refactor.extractsubclass.result;

public class LaborItem extends JobItem {
    private Employee employee;

    public LaborItem(int quantity, Employee employee) {
        this.quantity = quantity;
        this.employee = employee;
    }

    public int getUnitPrice() {
        return employee.getRate();
    }

}
